package com.loster.login.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
// 获取yml配置文件中login
@ConfigurationProperties(prefix = "login")
public class LoginTypeConfig {
    // 隐射login中的types
    private Map<String, String> types;

    public Map<String, String> getTypes() {
        return types;
    }

    public void setTypes(Map<String, String> types) {
        this.types = types;
    }
}
